﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Wicresoft.UnifyShow.Business;
using Microsoft.Practices.Unity;

namespace Wicresoft.UnifyShow.Portal.Controllers
{
    public class RemedyExampleController : Controller
    {

        private IRemedyExample example;

        protected override void Dispose(bool disposing)
        {
            ((IDisposable)example).Dispose();
        }

        [InjectionConstructor]
        public RemedyExampleController(IRemedyExample e)
        {
            this.example = e;
        }

        //
        // GET: /RemedyExample/

        public ActionResult Index()
        {

            return View(example.GetListRemedyExampleInt(1));
        }

        //
        // GET: /RemedyExample/

        public ActionResult Index2()
        {
            return View(example.GetListRemedyExampleInt1(1));
        }

    }
}
